package com.supcon.web;

import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author BeautifulHao
 * @description 角色
 * @create 2019-04-28 09:57
 **/
@Controller
public class RolePageController {
    @RequestMapping("/role-list")
    public String roleListPage(ModelMap map){
        map.addAttribute("name", "hello world");
        return "/role/role-list";
    }
    @RequestMapping("/role-detail")
    public String roleDetailPage(ModelMap map){
        map.addAttribute("name", "hello world");
        return "/role/role-detail";
    }
}
